package com.be.beadmin.quality.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author twl
 * @CreateTime 2023-9-21
 * @Description 客户投诉附件信息
 */
@Data
@Table(name="T_QM_ComplaintFileInfo")
@Entity
@Getter
@Setter
public class ComplaintFileInfo extends BaseEntity {

    @Column(name = "fileUrl",columnDefinition = "text COMMENT '文件链接' ")
    private String fileUrl;

    @Column(name = "infoId",columnDefinition = "VARCHAR(50) COMMENT '项目id'")
    private String infoId;

    @Column(name="complaintId",columnDefinition = "VARCHAR(50) COMMENT '投诉id' ")
    private String complaintId;

    @Column(name = "fileCode",columnDefinition = "VARCHAR(255) COMMENT '文件编码'")
    private String FileCode;

    @Column(name = "fileName",columnDefinition = "VARCHAR(255) COMMENT '文件名称'")
    private String fileName;

    @Column(name = "bucketName",columnDefinition = "VARCHAR(255) COMMENT 'bucketName' ")
    private String bucketName;
    /*
    0：问题图片
    1：改进措施
     */
    @Column(name="state",columnDefinition = "decimal(1) COMMENT '附件类型'")
    private Integer state;

}
